package com.woniuxy.dao;

import com.woniuxy.entity.RbacManager;

import java.util.List;

public interface ManagerDao {
    boolean add(RbacManager manager);
    boolean deleteById(int id);
    List<RbacManager> findAll(RbacManager manager);

    boolean update(RbacManager rbacManager);

    String findPassword(String username);

    RbacManager login(RbacManager rbacManager);
}
